package choices;

public class Choices {

	public static void main(String[] args) {
		/*
		 * First use a class that uses an int to keep track of the days of the week
		 */
		System.out.println("Day of Week using ints:");
		DayOfWeekInt d;
		for (int i=0; i< 10; i++) {
			d = new DayOfWeekInt(i);
			System.out.println(" When i is " + i + " day is " + d);
		}

		/*
		 * An enum to keep track of the days of the week is simpler and less error-prone
		 */
		System.out.println("\nDay of Week using and enum:");
		for (EnumDayOfWeek e : EnumDayOfWeek.values())
			System.out.println(" day is " + e);

	}
}
